/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package lab4_2;

import java.util.Observable;


/**
 *
 * @author skipy
 */
public class Employee extends Observable{
        float salary;
        public void setSalary(float newSalary)
        {
        salary=newSalary;
        setChanged();
        notifyObservers(new Float(salary));
        }
}
